Pagini recente » Borderou de evaluare (job #2211039) | Borderou de evaluare (job #1918343) | Borderou de evaluare (job #731266) | Borderou de evaluare (job #789735) | Borderou de evaluare (job #1851438)
Borderou de evaluare (job #1851438)
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/ccbIuggD.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 | 328kb | OK | 10 |
3 | 140ms | 524kb | OK | 10 |
4 | 148ms | 780kb | OK | 10 |
5 | 256ms | 4092kb | OK | 10 |
6 | 220ms | 4596kb | OK | 10 |
7 | Depăşit | 4500kb | Time limit exceeded. | 0 |
8 | Depăşit | 5352kb | Time limit exceeded. | 0 |
9 | Depăşit | 5352kb | Time limit exceeded. | 0 |
10 | 248ms | 5352kb | OK | 10 |
Punctaj total | 70 |