Pagini recente » Istoria paginii utilizator/marian.antohi | Borderou de evaluare (job #1191424)
Borderou de evaluare (job #1191424)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dtcsu.in","r",stdin);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dtcsu.out","w",stdout);
^
user.cpp:16:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(cmd); N=0;
^
user.cpp:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&Q);
^
user.cpp:24:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(cmd); N=0;
^
/tmp/ccBVD9u4.o: In function `main':
user.cpp:(.text.startup+0x65): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | Depăşit | Memory limit exceeded. | 0 |
2 | 16ms | Depăşit | Memory limit exceeded. | 0 |
3 | 16ms | Depăşit | Memory limit exceeded. | 0 |
4 | 16ms | Depăşit | Memory limit exceeded. | 0 |
5 | 16ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |