Pagini recente » Borderou de evaluare (job #14759) | Borderou de evaluare (job #736713) | Borderou de evaluare (job #436034) | Borderou de evaluare (job #3212940) | Borderou de evaluare (job #1520957)
Borderou de evaluare (job #1520957)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.in","r",stdin);
^
user.cpp:23:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.out","w",stdout);
^
user.cpp:24:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m); gets(s);
^
user.cpp:24:30: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m); gets(s);
^
user.cpp:26:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); l=strlen(s+1);
^
user.cpp:31:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x); scanf("%d",&y); sol=hash1[y][0];
^
user.cpp:31:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x); scanf("%d",&y); sol=hash1[y][0];
^
user.cpp:33:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&b); sol=min(sol,cauta(y,b));
^
/tmp/cchVE8YZ.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 220ms | 1060kb | OK | 5 |
2 | 220ms | 1068kb | OK | 5 |
3 | 20ms | 1136kb | OK | 5 |
4 | 20ms | 1140kb | OK | 5 |
5 | 20ms | 1132kb | OK | 5 |
6 | 20ms | 1136kb | OK | 5 |
7 | 240ms | 1432kb | OK | 5 |
8 | 236ms | 1424kb | OK | 5 |
9 | 240ms | 1424kb | OK | 5 |
10 | 220ms | 1068kb | OK | 5 |
11 | 224ms | 1068kb | OK | 5 |
12 | 224ms | 1068kb | OK | 5 |
13 | 224ms | 1068kb | OK | 5 |
14 | 224ms | 1068kb | OK | 5 |
15 | 228ms | 1064kb | OK | 5 |
16 | 232ms | 40536kb | OK | 5 |
17 | Depăşit | 40548kb | Time limit exceeded. | 0 |
18 | Depăşit | 40548kb | Time limit exceeded. | 0 |
19 | 400ms | 40552kb | OK | 5 |
20 | 392ms | 40548kb | OK | 5 |
Punctaj total | 90 |