Pagini recente » Borderou de evaluare (job #998514) | Borderou de evaluare (job #1609278) | Cod sursa (job #369461) | Borderou de evaluare (job #2707839) | Borderou de evaluare (job #1672994)
Borderou de evaluare (job #1672994)
Raport evaluator
Compilare:
user.cpp: In function ‘void prelucrare()’:
user.cpp:29:40: warning: left operand of comma operator has no effect [-Wunused-value]
for(int j=max(1,i-k-1); j<=(i+k+1,m); j++)
^
user.cpp: In function ‘void citire()’:
user.cpp:14:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n",&n,&m,&k);
^
user.cpp:15:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s1+1);
^
user.cpp:16:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s2+1);
^
user.cpp: In function ‘int main()’:
user.cpp:46:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("edist.in","r",stdin);
^
user.cpp:47:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("edist.out","w",stdout);
^
/tmp/cc2RYVrT.o: In function `citire()':
user.cpp:(.text+0x37): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 464kb | OK | 10 |
| 2 | 0ms | 460kb | OK | 10 |
| 3 | 0ms | 464kb | OK | 10 |
| 4 | 0ms | 464kb | OK | 10 |
| 5 | 0ms | 472kb | OK | 10 |
| 6 | 12ms | 484kb | OK | 10 |
| 7 | 16ms | 492kb | OK | 10 |
| 8 | Depăşit | 536kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 604kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 616kb | Time limit exceeded. | 0 |
| Punctaj total | 70 |