Pagini recente » Borderou de evaluare (job #891331) | Borderou de evaluare (job #2275326) | Borderou de evaluare (job #2497227) | Borderou de evaluare (job #293622) | Borderou de evaluare (job #2645268)
Borderou de evaluare (job #2645268)
Raport evaluator
Compilare:
main.c: In function 'ec2':
main.c:41:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if( x != 0 && del >= 0 && sqrt( del ) == ( pp = ( int )sqrt( del ) ) )
^
main.c: In function 'ec1':
main.c:18:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d=%d", &y, &z );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c: In function 'ec2':
main.c:30:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "2+%dx+%d=%d", &y, &z, &q );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:63:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d%d", &n, &k );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:65:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &xx );
^~~~~~~~~~~~~~~~~~~~~~~~
main.c:70:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%dx%c", &x, &ch );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 17ms | 131kb | OK | 10 |
6 | 2ms | 131kb | OK | 10 |
7 | 59ms | 131kb | OK | 10 |
8 | 91ms | 131kb | OK | 10 |
9 | 7ms | 131kb | OK | 10 |
10 | 7ms | 131kb | OK | 10 |
Punctaj total | 100 |