Pagini recente » Borderou de evaluare (job #1486826) | Borderou de evaluare (job #1153080) | Borderou de evaluare (job #868819) | Borderou de evaluare (job #490406) | Borderou de evaluare (job #1414586)
Borderou de evaluare (job #1414586)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("tastatura.in", "r", stdin);
^
user.cpp:24:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("tastatura.out", "w", stdout);
^
user.cpp:26:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1);
^
user.cpp:33:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &M);
^
user.cpp:37:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (curr + 1);
^
/tmp/ccU6vlPd.o: In function `main':
user.cpp:(.text.startup+0x5b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK | 10 | 100 |
2 | 0ms | 304kb | OK | 10 |
3 | 0ms | 404kb | OK | 10 |
4 | 0ms | 896kb | OK | 10 |
5 | 4ms | 1148kb | OK | 10 |
6 | 4ms | 1360kb | OK | 10 |
7 | 8ms | 1712kb | OK | 10 |
8 | 8ms | 1996kb | OK | 10 |
9 | 12ms | 2428kb | OK | 10 |
10 | 12ms | 2444kb | OK | 10 |
Punctaj total | 100 |