Pagini recente » Borderou de evaluare (job #899939) | Borderou de evaluare (job #1780261) | Borderou de evaluare (job #2154029) | Borderou de evaluare (job #2797662) | Borderou de evaluare (job #1809206)
Borderou de evaluare (job #1809206)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%d%d",&n,&s,&t);
^
user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:14:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%d",&c[i],&p[i]);
^
user.cpp:14:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:12:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d",&n,&s,&t);
^
user.cpp:14:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&c[i],&p[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 440kb | OK | 10 | 0 |
2 | 0ms | 444kb | OK | 10 |
3 | 0ms | 504kb | Incorect | 0 |
4 | 28ms | 1220kb | Incorect | 0 | 0 |
5 | 48ms | 1704kb | OK | 10 |
6 | 56ms | 1860kb | OK | 10 |
7 | 64ms | 1996kb | OK | 10 | 10 |
8 | 64ms | 1992kb | OK | 10 | 10 |
9 | 64ms | 1996kb | OK | 10 | 10 |
10 | 60ms | 2000kb | OK | 10 | 10 |
Punctaj total | 40 |