Pagini recente » Borderou de evaluare (job #1947141) | Borderou de evaluare (job #1826406)
Borderou de evaluare (job #1826406)
Raport evaluator
Compilare:
user.cpp:40:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main() {
^
user.cpp: In function ‘int main()’:
user.cpp:45:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf( fin, "%d%d", &n, &k );
^
user.cpp:45:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:48:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf( fin, "%d", &v[i] );
^
user.cpp:52:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf( fout, "%d", cbin( k ) );
^
user.cpp:45:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d%d", &n, &k );
^
user.cpp:48:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &v[i] );
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | Incorect | 0 |
| 2 | 0ms | 264kb | Incorect | 0 |
| 3 | 0ms | 268kb | Incorect | 0 |
| 4 | 12ms | 340kb | Incorect | 0 |
| 5 | 24ms | 412kb | Incorect | 0 |
| 6 | 44ms | 516kb | Incorect | 0 |
| 7 | 52ms | 572kb | Incorect | 0 |
| 8 | 64ms | 652kb | Incorect | 0 |
| 9 | 64ms | 652kb | Incorect | 0 |
| 10 | 64ms | 652kb | Incorect | 0 |
| Punctaj total | 0 |