Pagini recente » Cod sursa (job #316905) | Borderou de evaluare (job #2162701) | Borderou de evaluare (job #651497) | Borderou de evaluare (job #615597) | Borderou de evaluare (job #791379)
Borderou de evaluare (job #791379)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf (" %d %d ", &n, &m );
^
user.cpp:31:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:34:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf (" %d %d %d ", &Cu[i].t, &Cu[i].c, &Cu[i].b );
^
user.cpp:34:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:34:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:100:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n", Maxim );
^
user.cpp:28:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("bcrc.in","r",stdin);
^
user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("bcrc.out","w",stdout);
^
user.cpp:31:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf (" %d %d ", &n, &m );
^
user.cpp:34:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf (" %d %d %d ", &Cu[i].t, &Cu[i].c, &Cu[i].b );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 272kb | Wall time limit exceeded. | 0 |
4 | 0ms | 272kb | Wall time limit exceeded. | 0 |
5 | 0ms | 276kb | Wall time limit exceeded. | 0 |
6 | 0ms | 276kb | Wall time limit exceeded. | 0 |
7 | 0ms | 280kb | Wall time limit exceeded. | 0 |
8 | 0ms | 280kb | Wall time limit exceeded. | 0 |
9 | 0ms | 280kb | Wall time limit exceeded. | 0 |
10 | 0ms | 276kb | Wall time limit exceeded. | 0 |
Punctaj total | 20 |