Pagini recente » Borderou de evaluare (job #1448135) | Borderou de evaluare (job #835475) | Cod sursa (job #1892440) | Borderou de evaluare (job #1555583) | Borderou de evaluare (job #2427028)
Borderou de evaluare (job #2427028)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:39:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(p=0; p<V.size(); ++p) if(Map[xx][yy]==V[p]){good=false; break;}
~^~~~~~~~~
main.cpp:43:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(k=0; k<V.size(); ++k) Sum+=List[V[k]];
~^~~~~~~~~
main.cpp:13:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vila.in", "r", stdin);
^
main.cpp:14:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vila.out", "w", stdout);
^
main.cpp:15:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
main.cpp:18:30: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(Ch, 130, stdin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 3ms | 131kb | OK | 10 |
| 3 | 3ms | 131kb | OK | 10 |
| 4 | 3ms | 131kb | OK | 10 |
| 5 | 4ms | 131kb | OK | 10 |
| 6 | 3ms | 131kb | OK | 10 |
| 7 | 5ms | 131kb | OK | 10 |
| 8 | 8ms | 274kb | OK | 10 |
| 9 | 4ms | 131kb | OK | 10 |
| 10 | 4ms | 131kb | OK | 10 |
| Punctaj total | 100 |