Pagini recente » Borderou de evaluare (job #3218391) | Borderou de evaluare (job #10521) | Borderou de evaluare (job #2855127) | Borderou de evaluare (job #881616) | Borderou de evaluare (job #1226212)
Borderou de evaluare (job #1226212)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:14:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",i);
^
user.cpp:17:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ",k);
^
user.cpp:5:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lantaditiv.in","r",stdin);
^
user.cpp:6:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lantaditiv.out","w",stdout);
^
user.cpp:8:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | Raspuns gresit! | 0 |
2 | 0ms | 244kb | Raspuns gresit! | 0 |
3 | 0ms | 248kb | Raspuns gresit! | 0 |
4 | 12ms | 244kb | Raspuns gresit! | 0 |
5 | Depăşit | 244kb | Time limit exceeded. | 0 |
6 | Depăşit | 244kb | Time limit exceeded. | 0 |
7 | Depăşit | 224kb | Time limit exceeded. | 0 |
8 | Depăşit | 228kb | Time limit exceeded. | 0 |
9 | Depăşit | 224kb | Time limit exceeded. | 0 |
10 | Depăşit | 224kb | Time limit exceeded. | 0 |
Punctaj total | 0 |