Pagini recente » Borderou de evaluare (job #92186) | Borderou de evaluare (job #2402614) | Borderou de evaluare (job #1191047) | Borderou de evaluare (job #744590) | Borderou de evaluare (job #1513649)
Borderou de evaluare (job #1513649)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:26:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf( fin, "%d", &n );
^
user.c:30:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf( fin, "%d %d", &a, &b );
^
user.c:30:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=]
user.c:31:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf( fout, "%d\n", euclid( a, b ) );
^
user.c:26:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &n );
^
user.c:30:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d %d", &a, &b );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 256kb | OK | 10 | 10 |
2 | 0ms | 256kb | OK | 10 | 20 |
3 | 0ms | 256kb | OK | 10 |
4 | 20ms | 252kb | OK | 10 | 10 |
5 | 32ms | 252kb | OK | 10 | 10 |
6 | 44ms | 256kb | OK | 10 | 10 |
7 | 56ms | 260kb | OK | 10 | 40 |
8 | 68ms | 256kb | OK | 10 |
9 | 68ms | 260kb | OK | 10 |
10 | 112ms | 252kb | OK | 10 |
Punctaj total | 100 |