Pagini recente » Borderou de evaluare (job #1029299) | Borderou de evaluare (job #2363429) | Cod sursa (job #394591) | Borderou de evaluare (job #353856) | Borderou de evaluare (job #1184243)
Borderou de evaluare (job #1184243)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( lwdt + tmp <= limit -3 ) pos = i;
^
user.cpp:35:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( lwdt <= limit ) fprintf(fout, "%s" , ch);
^
user.cpp:17:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin ,"%d", &wdt[i] );
^
user.cpp:19:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%c", &c);
^
user.cpp:22:32: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets( ch , 1000000 , fin );
^
user.cpp:24:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d" , &limit);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 260kb | OK | 10 | 100 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 264kb | OK | 10 |
| 4 | 0ms | 264kb | OK | 10 |
| 5 | 0ms | 288kb | OK | 10 |
| 6 | 0ms | 456kb | OK | 10 |
| 7 | 8ms | 1220kb | OK | 10 |
| 8 | 16ms | 1236kb | OK | 10 |
| 9 | 8ms | 1232kb | OK | 10 |
| 10 | 8ms | 1228kb | OK | 10 |
| Punctaj total | 100 |