Pagini recente » Borderou de evaluare (job #1426894) | Borderou de evaluare (job #817421) | Borderou de evaluare (job #2748046) | Borderou de evaluare (job #715980) | Borderou de evaluare (job #1520317)
Borderou de evaluare (job #1520317)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("per.in","r",stdin);
^
user.cpp:16:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("per.out","w",stdout);
^
user.cpp:17:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&n,&k); gets(s+1); val[0]=1;
^
user.cpp:17:33: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&n,&k); gets(s+1); val[0]=1;
^
/tmp/ccU8J4Nj.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 |
Punctaj/grupa |
1 | 0ms | 276kb | OK | 10 | 0 |
2 | Depăşit | 288kb | Time limit exceeded. | 0 |
3 | Depăşit | 288kb | Time limit exceeded. | 0 |
4 | 324ms | 316kb | Incorect | 0 |
5 | 48ms | 312kb | Incorect | 0 |
6 | 500ms | 312kb | Incorect | 0 |
7 | Depăşit | 296kb | Time limit exceeded. | 0 |
8 | Depăşit | 288kb | Time limit exceeded. | 0 |
9 | Depăşit | 292kb | Time limit exceeded. | 0 |
10 | 0ms | 276kb | OK | 10 |
Punctaj total | 0 |