Pagini recente » Borderou de evaluare (job #1614289) | Borderou de evaluare (job #1475814) | Borderou de evaluare (job #1197408) | Borderou de evaluare (job #293383) | Borderou de evaluare (job #1373101)
Borderou de evaluare (job #1373101)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&t);
^
user.cpp:37:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d%d",&x,&y,&z);
^
user.cpp:37:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:37:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=]
user.cpp:38:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d%d%lld",&A,&B,&C,&n);
^
user.cpp:38:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:38:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=]
user.cpp:32:9: warning: unused variable ‘k’ [-Wunused-variable]
int k=0;
^
user.cpp:33:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&t);
^
user.cpp:37:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d",&x,&y,&z);
^
user.cpp:38:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d%lld",&A,&B,&C,&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Raspuns gresit! | 0 |
2 | 0ms | 268kb | Raspuns gresit! | 0 |
3 | 0ms | 272kb | Raspuns gresit! | 0 |
4 | 0ms | 272kb | Raspuns gresit! | 0 |
5 | 0ms | 268kb | Raspuns gresit! | 0 |
6 | 0ms | 268kb | Raspuns gresit! | 0 |
7 | 0ms | 268kb | Raspuns gresit! | 0 |
8 | 0ms | 268kb | Raspuns gresit! | 0 |
9 | 0ms | 272kb | Raspuns gresit! | 0 |
10 | 0ms | 268kb | Raspuns gresit! | 0 |
Punctaj total | 0 |