Borderou de evaluare (job #1380940)

Utilizator geniucosOncescu Costin geniucos Data 8 martie 2015 11:13:10
Problema TwoSets Status done
Runda Algoritmiada 2015 - Runda 2, Seniori Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:82: warning: operation on ‘nr’ may be undefined [-Wsequence-point] stiva[++nr].first = (stiva[nr - 1].first * 2 + (sir[i] - '0')) % mod1; ^ user.cpp:91:100: warning: operation on ‘nr’ may be undefined [-Wsequence-point] stiva[++nr].first = ((long long)1LL * stiva[nr - 1].first * 10 + (sir[i] - '0')) % mod1; ^ user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("twosets.in", "r", stdin); ^ user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("twosets.out", "w", stdout); ^ user.cpp:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &T); ^ user.cpp:22:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (sir + 1); ^ user.cpp:46:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (sir + 1); ^ /tmp/ccpjryGo.o: In function `main': user.cpp:(.text.startup+0x98): warning: the `gets' function is dangerous and should not be used.
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
✓128msDepăşitMemory limit exceeded.00
✗228msDepăşitMemory limit exceeded.00
✗328msDepăşitMemory limit exceeded.00
✗428msDepăşitMemory limit exceeded.00
✗528msDepăşitMemory limit exceeded.00
✓628msDepăşitMemory limit exceeded.0
✗728msDepăşitMemory limit exceeded.00
✗828msDepăşitMemory limit exceeded.0
✗928msDepăşitMemory limit exceeded.00
✗1028msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?