Pagini recente » Borderou de evaluare (job #949441) | Borderou de evaluare (job #878008) | Borderou de evaluare (job #2117451) | Borderou de evaluare (job #1939440) | Borderou de evaluare (job #1738042)
Borderou de evaluare (job #1738042)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.in","r",stdin);
^
user.cpp:22:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.out","w",stdout);
^
user.cpp:24:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lf",&n,&k);
^
user.cpp:27:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[(i-1)*n+j]);
^
user.cpp:28:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:31:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccCe9KdY.o: In function `main':
user.cpp:(.text.startup+0x1de): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 320kb | OK | 10 |
2 | 0ms | 312kb | OK | 10 |
3 | 0ms | 320kb | OK | 10 |
4 | 0ms | 324kb | OK | 10 |
5 | 12ms | 476kb | OK | 10 |
6 | 0ms | 320kb | OK | 10 |
7 | 60ms | 952kb | OK | 10 |
8 | 96ms | 1296kb | OK | 10 |
9 | 4ms | 360kb | OK | 10 |
10 | 4ms | 360kb | OK | 10 |
Punctaj total | 100 |