Pagini recente » Borderou de evaluare (job #65095) | Borderou de evaluare (job #2312399) | Borderou de evaluare (job #704359) | Borderou de evaluare (job #286131) | Borderou de evaluare (job #1830070)
Borderou de evaluare (job #1830070)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:173:28: warning: NULL used in arithmetic [-Wpointer-arith]
for (int j=0;s[j]!=NULL;j++)
^
user.cpp:230:28: warning: NULL used in arithmetic [-Wpointer-arith]
for (int j=2;s[j]!=NULL;j++)
^
user.cpp:162: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:163: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:165: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:168:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:224:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccIdQhPX.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 | 300kb | OK | 10 |
2 | 4ms | 376kb | OK | 10 |
3 | 240ms | 676kb | OK | 10 |
4 | 572ms | 1044kb | OK | 10 |
5 | Depăşit | 5880kb | Time limit exceeded. | 0 |
6 | Depăşit | 6616kb | Time limit exceeded. | 0 |
7 | Depăşit | 4360kb | Time limit exceeded. | 0 |
8 | Depăşit | 6812kb | Time limit exceeded. | 0 |
9 | Depăşit | 7724kb | Time limit exceeded. | 0 |
10 | Depăşit | 7724kb | Time limit exceeded. | 0 |
Punctaj total | 40 |