Pagini recente » Borderou de evaluare (job #1480879) | Borderou de evaluare (job #1153152) | Borderou de evaluare (job #2353574) | Borderou de evaluare (job #1817112) | Borderou de evaluare (job #1602666)
Borderou de evaluare (job #1602666)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("luna.in","r",stdin);
^
user.cpp:51:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("luna.out","w",stdout);
^
user.cpp:56:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n, &m);
^
user.cpp:58:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir); p=0;
^
user.cpp:66:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&k);
^
user.cpp:69:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir);
^
/tmp/cc9zDm7r.o: In function `main':
user.cpp:(.text.startup+0xa8): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 5 |
2 | 4ms | 276kb | OK | 5 |
3 | 48ms | 10332kb | OK | 5 |
4 | 56ms | 10372kb | OK | 5 |
5 | Depăşit | 12236kb | Time limit exceeded. | 0 |
6 | 220ms | 8404kb | OK | 5 |
7 | 0ms | 304kb | OK | 5 |
8 | 0ms | 288kb | OK | 5 |
9 | 12ms | 476kb | OK | 5 |
10 | 4ms | 360kb | OK | 5 |
11 | 8ms | 528kb | OK | 5 |
12 | 4ms | 404kb | OK | 5 |
13 | 0ms | 476kb | OK | 5 |
14 | 148ms | 1460kb | OK | 5 |
15 | 8ms | 512kb | OK | 5 |
16 | 72ms | 668kb | OK | 5 |
17 | Depăşit | 1580kb | Time limit exceeded. | 0 |
18 | Depăşit | 2148kb | Time limit exceeded. | 0 |
19 | Depăşit | 2460kb | Time limit exceeded. | 0 |
20 | Depăşit | 2444kb | Time limit exceeded. | 0 |
Punctaj total | 75 |