Borderou de evaluare (job #1775686)

Utilizator akaprosAna Kapros akapros Data 10 octombrie 2016 17:00:56
Problema Senat Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int Pairup(int)’: user.cpp:20:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < V[x].size(); ++ i) ^ user.cpp: In function ‘void read()’: user.cpp:50:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] while (S[pos] > '9' || S[pos] < '0' && pos <= l) ^ user.cpp:32:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("senat.in", "r", stdin); ^ user.cpp:33:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n%d\n", &n, &m); ^ user.cpp:37:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S + 1); ^ user.cpp: In function ‘void write()’: user.cpp:78:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("senat.out", "w", stdout); ^ /tmp/cc9NgLHa.o: In function `read()': user.cpp:(.text+0x297): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms692kbS-a respectat legea!10
20ms704kbS-a respectat legea!10
30ms696kbS-a respectat legea!10
40ms716kbS-a respectat legea!10
50ms744kbS-a respectat legea!10
60ms740kbS-a respectat legea!10
70ms756kbS-a respectat legea!10
80ms756kbS-a respectat legea!10
90ms696kbS-a respectat legea!10
100ms720kbS-a respectat legea!10
Punctaj total100

Ceva nu functioneaza?