Pagini recente » Borderou de evaluare (job #1741333) | Borderou de evaluare (job #2345344) | Borderou de evaluare (job #512738) | Borderou de evaluare (job #851450) | Borderou de evaluare (job #1831653)
Borderou de evaluare (job #1831653)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:115:28: warning: NULL used in arithmetic [-Wpointer-arith]
for (int j=0;s[j]!=NULL;j++)
^
user.cpp:144:28: warning: NULL used in arithmetic [-Wpointer-arith]
for (int j=2;s[j]!=NULL;j++)
^
user.cpp:104:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("disconnect.in","r",stdin);
^
user.cpp:105:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("disconnect.out","w",stdout);
^
user.cpp:107:27: 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:110:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:138:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccsZhA7a.o: In function `main':
user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 332kb | OK | 10 |
3 | 144ms | 540kb | OK | 10 |
4 | 152ms | 784kb | OK | 10 |
5 | 268ms | 4092kb | OK | 10 |
6 | 212ms | 4596kb | OK | 10 |
7 | Depăşit | 4504kb | Time limit exceeded. | 0 |
8 | Depăşit | 5336kb | Time limit exceeded. | 0 |
9 | Depăşit | 5340kb | Time limit exceeded. | 0 |
10 | 248ms | 5336kb | OK | 10 |
Punctaj total | 70 |